﻿using TeamTasker.Contracts;
using TeamTasker.Server.DataAccess;
using Spring.Data.Common;
using System.Collections.Generic;

namespace TeamTasker.Server.BusinessLogic
{
    public class UserFacade : BaseFacade<User, UserDAO>
    {
        public User Load(string login)
        {
            return Dao.Load(login);
        }

        public IList<User> GetUserList()
        {
            return Dao.GetUserList();
        }

        public void UpdateLoginTimestamp(string login) {
            Dao.UpdateLoginTimestamp(login);
        }
    }
}
